package com.baizhi.service;

import com.baizhi.entity.Guru;

import java.util.List;
import java.util.Map;

/**
 * Created by Lenovo on 2019/6/17.
 */
public interface GuruService {

    //分页查询上师
    public Map fenye(int page,int rows,String guruName);

    //添加上师
    public void add(Guru guru);

    //修改上师
    public  void update(Guru guru);

    //删除上师
    public  void  delete(int[] ids);

    //查询所有的上师
    public List<Guru> selectAll();
}
